package chat.serverToClientMessage;

import chat.client.Client;

import java.util.List;


public class UserUpdate implements ServerToClientMessage{

	private static final long serialVersionUID = 1L;
	private List<String> userList;
	
	public UserUpdate(List<String> userList) {
		this.userList = userList;
	}

	@Override
	public void processOnClient(Client client) {
		client.updateUser(userList);
	}
}
